{extend name="main/index" /}
{block name="main"}


<div class="content-page">
	<div class="content">
		<form action="{:url('admin/Node/save')}" method="post">
			<div class="form-group">
				<input type="hidden" name="id" value="{$data.id}">
				<label for="exampleInputText1">节点名</label>
				<input type="text" class="form-control" id="exampleInputText1" value="{$data.name}" name="name">
			</div>
			<div class="form-group">
				<label for="exampleInputText1">控制器</label>
				<input type="text" class="form-control" id="exampleInputText1"  value="{$data.mname}" name="mname">
			</div>
			<div class="form-group">
				<label for="exampleInputText1">操作</label>
				<input type="text" class="form-control" id="exampleInputText1" value="{$data.aname}" name="aname">
			</div>
			<div class="form-group">
				<input type="radio" name="status" value="1" {if $data.status==1} checked {/if}>启用
				<input type="radio" name="status" value="2" {if $data.status==2} checked {/if}>禁用
			</div> 
			<button type="submit" class="btn btn-default">确认</button>
			<button type="reset" class="btn btn-default">重置</button>
		</form>
	</div>
</div>

{/block}